package com.my.aslife.module.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author mayuan
 * @description TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
public class Condition {

    private String phone;
    private String email;
    private Short[] types;
    private Short status;

    public Condition(String phone, String email) {
        this.phone = phone;
        this.email = email;
    }

    public Condition(String phone, String email, Short[] type) {
        this.phone = phone;
        this.email = email;
        this.types = type;
    }

    public Condition(String phone, String email, Short status) {
        this.phone = phone;
        this.email = email;
        this.status = status;
    }
}
